package com.sxfq.loansupermarket.backsystem.modular.analysis.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/** 
 * @author gaofucheng: 
 * @version 2017年8月24日 上午10:12:55 
 * 数据统计实体类
 */
@TableName("customer_platform_count_info")
public class CustomPlatformVisitInfo extends Model<CustomPlatformVisitInfo> {
	
	private static final long serialVersionUID = 1L;
	/**
	 * 主键id
	 */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	/** 平台id*/
	private Integer platformId;
	/** 首页浏览id*/
	private Integer homePagerId;
	/** 渠道id*/
	private Integer channelId;
	/** 明星产品id*/
	private Integer starPlatformId;
	/** banner id*/
	private Integer bannerId;
	/** 首页按钮id*/
	private Integer buttonId;
	/** 浏览量*/
	private Long visitCount; 
	/** 点击量*/
	private Long clickCount;
	/** 创建时间*/
	private Date createTime;
	/** 更新时间*/
	private Date updateTime;

	@Override
	protected Serializable pkVal() {
		
		return this.id;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	

	public Integer getPlatformId() {
		return platformId;
	}
	public void setPlatformId(Integer platformId) {
		this.platformId = platformId;
	}
	public Integer getChannelId() {
		return channelId;
	}
	public void setChannelId(Integer channelId) {
		this.channelId = channelId;
	}

	public Integer getStarPlatformId() {
		return starPlatformId;
	}
	public void setStarPlatformId(Integer starPlatformId) {
		this.starPlatformId = starPlatformId;
	}
	public Integer getBannerId() {
		return bannerId;
	}
	public void setBannerId(Integer bannerId) {
		this.bannerId = bannerId;
	}
	public Integer getButtonId() {
		return buttonId;
	}
	public void setButtonId(Integer buttonId) {
		this.buttonId = buttonId;
	}
	public Long getVisitCount() {
		return visitCount;
	}
	public void setVisitCount(Long visitCount) {
		this.visitCount = visitCount;
	}
	public Long getClickCount() {
		return clickCount;
	}
	public void setClickCount(Long clickCount) {
		this.clickCount = clickCount;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public Integer getHomePagerId() {
		return homePagerId;
	}
	public void setHomePagerId(Integer homePagerId) {
		this.homePagerId = homePagerId;
	}
	
	@Override
	public String toString() {
		return "CustomPlatformVisitInfo [id=" + id + ", platformId=" + platformId + ", homePagerId=" + homePagerId
				+ ", channelId=" + channelId + ", starPlatformId=" + starPlatformId + ", bannerId=" + bannerId
				+ ", buttonId=" + buttonId + ", visitCount=" + visitCount + ", clickCount=" + clickCount
				+ ", createTime=" + createTime + ", updateTime=" + updateTime + "]";
	}
}
